home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
f2c
/
may_5_92.lha
/
f2c.VMay_5_1992
/
libI77
/
wsne.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-05-07
|
435b
|
28 lines
#include "f2c.h"
#include "fio.h"
#include "lio.h"
integer
s_wsne(a)
cilist *a;
{
int n;
extern int (*donewrec)(), t_putc(), x_wSL();
extern integer e_wsle();
if(!init)
f_init();
if(n=c_le(a))
return(n);
reading=0;
external=1;
formatted=1;
putn = t_putc;
L_len = LINE;
donewrec = x_wSL;
if(curunit->uwrt != 1 && nowwriting(curunit))
err(a->cierr, errno, "namelist output start");
x_wsne(a);
return e_wsle();
}